import axios from "axios"
export function homelink(url,method){
    return new Promise((resolve,reject)=>{
        axios({
            url,
            method
        }).then((ok)=>{
            resolve(ok)
        }).catch((err)=>{
            reject(err)
        })
    })
}